package com.xiaozhu;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableTransactionManagement // 开启事务
@MapperScan("com.xiaozhu.mapper")
@SpringBootApplication
@EnableCaching //开启缓存机制
public class RabcXzApplication {

    public static void main(String[] args) {
        SpringApplication.run(RabcXzApplication.class, args);
    }

}
